import java.util.*;
//import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: a1227
 * Date: 2022-09-09
 * Time: 8:33
 */
public class Test {
    /**
     * [NOIP2018]标题统计
     * @param args
     */
    /*
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        String str = scan.nextLine();
        int count = 0;
        for(int i = 0; i < str.length(); i++){
            char ch = str.charAt(i);
            if(!Character.isWhitespace(ch)){
                count++;
            }
        }
        System.out.println(count);
    }
    */

    /**
     * BC144 登录验证
     * @param args
     */
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        while(scan.hasNext()){
            String name = scan.next();
            String password = scan.next();
            if(name.equals("admin") && password.equals("admin")){
                System.out.println("Login Success!");
            }else{
                System.out.println("Login Fail!");
            }
        }
    }
}
